export function getContext(canvas, options={}){
	let contexts = ['webgl', 'experimental-webgl'];
	let context = null;

	contexts.some(name=>{
		try{
			context = canvas.getContext(name,options);
		}catch(e){
			console.log('has not find canvas!');
		}
	})
}